package creatType.AbstractFactory.factory.impl;

import creatType.AbstractFactory.animal.IChicken;
import creatType.AbstractFactory.animal.IDuck;
import creatType.AbstractFactory.animal.impl.FlyChickenImpl;
import creatType.AbstractFactory.animal.impl.FlyDuckImpl;
import creatType.AbstractFactory.factory.IAbstractFactory;

public class FlyAbstractFactoryImpl implements IAbstractFactory {
    @Override
    public IChicken createChicken() {
        return new FlyChickenImpl();
    }

    @Override
    public IDuck createDuck() {
        return new FlyDuckImpl();
    }

}